EmbedPress\Providers\Youtube D

Total Complexity 141
Dependencies 2
Dependents 1
Total lines 922
Lines of code 750
Logical lines of code 319
Comment lines 48
Methods 26
Properties 8

Methods 26

Method Rating Maintainability Complexity Lines of code
get_gallery_page()
D
21
46 196
styles()
B
29 8 236
getChannelGallery()
A
44 11 45
getChannelPlaylist()
A
43 10 47
getChannel()
A
49 10 34
getStaticResponse()
A
47 7 34
get_thumbnail_url()
S
57 6 17
get_id()
S
69 6 6
get_channel_id_by_handler()
S
52 4 25
getParams()
S
58 4 15
clean_api_error_html()
S
66 4 7
getChannelIDbyUsername()
S
60 3 12
compare_vid_date()
S
70 3 6
getFakeResponse()
S
55 1 18
get_youtube_handler()
S
66 2 8
constructUrl()
S
73 2 4
get_pagesize()
S
73 2 4
get_api_key()
S
73 2 4
getEndpoint()
S
69 2 7
isChannel()
S
68 2 7
validateUrl()
S
78 1 3
get_api_key_error_message()
S
77 1 3
clean_api_error()
S
77 1 3
normalizeUrl()
S
82 1 3
validateTYLiveUrl()
S
78 1 3
getAllowedParams()
S
82 1 3